<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<button onclick="test1()">打开窗口</button>
		<button onclick="test2()">关闭窗口</button>
		<script type="text/javascript">
			var p
			function test1()
			{
				p=window.open("Exe3.html","new","width=200,height=100,top=200,left=200")
			}
			function test2()
			{
				p.close()
			}
			
		</script>
		
	</body>
</html>
